package com.lagou.myspringboot.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(basePackages = {"com.lagou.myspringboot"})
public class AppConfig {

    {
        System.out.println("ComponentScan...........");
    }
}
